package com.ming.yourdiary.util;


import com.ming.yourdiary.entity.DiaryNote;

import java.util.ArrayList;
import java.util.List;

/*用于生成测试数据类*/
public class TestDataUtil {

  private static String sArticle =
    "盛夏日落迟 灯火未夜匆匆明" + "\n" +
      "历夏十七遭 终于与君逢 " + "\n" +
      "葵花芃芃 书中何词叙「可爱」 " + "\n" +
      "言语如苏打般涌现 " + "\n" +
      "雷鸣隆隆 终须言语使相知 " + "\n" +
      "晚虹灿灿 心有衷情盼君聆 " + "\n" +
      "热浪缕缕 飞来为君掌心掬 " + "\n" +
      "对夏夜中的你 我愿纵情呐喊 " + "\n" +
      "可怜山樱芽 我心悦之 " + "\n" +
      "可爱山樱牙 我心悦之 " + "\n" +
      "可爱山樱语 亦心悦之 " + "\n" +
      "可爱山樱焰 亦心悦之 " + "\n" +
      "可爱山樱靥 我心悦之 " + "\n" +
      "山樱啊微笑 我心悦之 " + "\n" +
      "我 喜欢你";

  //yyyy-MM-dd HH:mm:ss
  public static List<DiaryNote> generateTestDiaryNotes() {
    List<DiaryNote> notes = new ArrayList<>();
    notes.add(new DiaryNote("2021-01-01 12:00:00", 100, "新年快乐！", "HappyDay!"));
    notes.add(new DiaryNote("2021-05-08 14:45:42", 100, "The FirstDay", "HappyDay!"));
    notes.add(new DiaryNote("2021-05-20 18:15:42", 100, "55552222", "Haaaaaaaaa"));
    notes.add(new DiaryNote("2021-06-21 14:45:42", 100, "夏至", "节气 夏至"));
    notes.add(new DiaryNote("2021-06-30 19:15:42", 100, "月末", "节气 夏至"));
    notes.add(new DiaryNote("2021-07-01 14:45:42", 100, "月初", "7月第一天"));
    notes.add(new DiaryNote("2021-07-27 22:26:42", 100, "夏天里开心的事呀", "下班后迎面而来的晚风\n\n            跑步结束后的大西瓜🍉\n\n听你说话，一起Timi~"));
    notes.add(new DiaryNote("2021-07-31 17:26:42", 200, "言语如苏打般涌现", sArticle));
    //notes.add(new DiaryNote("2021-12-25 09:45:42", 100, "圣诞节", "Happy~"));
    return notes;
  }


}
